package com.liohi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liohi.entity.Teacher;
import com.liohi.service.TeacherService;
import com.liohi.mapper.TeacherMapper;
import org.springframework.stereotype.Service;

/**
* @author liohi
* @description 针对表【teacher】的数据库操作Service实现
* @createDate 2023-08-02 15:10:31
*/
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher>
    implements TeacherService{

    @Override
    public int insertTeacher(Teacher teacher) {
        return baseMapper.insert(teacher);
    }
}




